package com.cudex.mb;

//import javax.annotation.ManagedBean;
import java.util.Date;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean
@ViewScoped
public class FacturaBean {

	private String facSerie;
	private String facNum;
	private String cliName;
	private long cliRut;
	private long pedido;
	private long facOrdenCompra;
	private Date facFecha;

	private double subTotal;
	private double valIva;
	private int iva;
	private double total;

	public FacturaBean() {
		// TODO Auto-generated constructor stub
	}

	public String getFacSerie() {
		return facSerie;
	}

	public void setFacSerie(String facSerie) {
		this.facSerie = facSerie;
	}

	public String getFacNum() {
		return facNum;
	}

	public void setFacNum(String facNum) {
		this.facNum = facNum;
	}

	public String getCliName() {
		return cliName;
	}

	public void setCliName(String cliName) {
		this.cliName = cliName;
	}

	public long getCliRut() {
		return cliRut;
	}

	public void setCliRut(long cliRut) {
		this.cliRut = cliRut;
	}

	public long getPedido() {
		return pedido;
	}

	public void setPedido(long pedido) {
		this.pedido = pedido;
	}

	public double getSubTotal() {
		return subTotal;
	}

	public void setSubTotal(double subTotal) {
		this.subTotal = subTotal;
	}

	public double getValIva() {
		return valIva;
	}

	public void setValIva(double valIva) {
		this.valIva = valIva;
	}

	public int getIva() {
		return iva;
	}

	public void setIva(int iva) {
		this.iva = iva;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public Date getFacFecha() {
		return facFecha;
	}

	public void setFacFecha(Date facFecha) {
		this.facFecha = facFecha;
	}

	public long getFacOrdenCompra() {
		return facOrdenCompra;
	}

	public void setFacOrdenCompra(long facOrdenCompra) {
		this.facOrdenCompra = facOrdenCompra;
	}

	
	public String guardar(){
		return "";
	}
	
	public String modificar(){
		return "";
	}
	public String borrar(){
		return "";
	}
	
	public String cancelar(){
		return "dashboard.xhtml";
	}
	
	
}
